package com.wpw.dream.lock;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.apache.commons.lang3.StringUtils;

public class ParamDemo {

	static Map<Long, String> map = new ConcurrentHashMap<>();

	public static void doLock(Long id) {
		String string = map.get(id);
		if (StringUtils.isNotBlank(string)) {
			map.put(id, "");
		}
		
	}

}
